This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This is what I'm doing but getting RadioButton width as 0. :( | |
public void addPresenter(int icon){ | |
RadioButton presenter = new RadioButton(getContext()); | |
//Configura atributos padrão | |
Drawable drawable = getResources().getDrawable(icon); | |
presenter.setCompoundDrawables(drawable, null, null, null); | |
presenter.setButtonDrawable(null); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package neocom.dealerbook.views; | |
import android.content.Context; | |
import android.graphics.drawable.Drawable; | |
import android.util.AttributeSet; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.view.animation.Animation; | |
import android.view.animation.Transformation; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void updatePhoto() { | |
foto.setVisibility(View.VISIBLE); | |
Picasso.with(getActivity()) | |
.load(getPhotoRequestPath()) | |
.into(foto, getStreetViewImage); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RelativeLayout | |
style="@style/sidebar_switch_style" | |
> | |
<TextView | |
android:id="@+id/layer_name" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerVertical="true" | |
android:textSize="20sp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RadioGroup | |
android:id="@+id/presenter_options" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:padding="4dp" | |
android:gravity="center" | |
> | |
<RadioButton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package neocom.dealerbook.views; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.animation.Animation; | |
import android.view.animation.Transformation; | |
import android.widget.LinearLayout; | |
import android.widget.TextView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ClusterManager getClusterManager(Class c){ | |
return new ClusterManager<c>(this, mMap); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-assumenosideeffects class android.util.Log { | |
public static boolean isLoggable(java.lang.String, int); | |
public static int v(...); | |
public static int i(...); | |
public static int w(...); | |
public static int d(...); | |
public static int e(...); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note: there were 5 references to unknown classes. | |
You should check your configuration for typos. | |
(http://proguard.sourceforge.net/manual/troubleshooting.html#unknownclass) | |
Note: there were 3 classes trying to access enclosing classes using reflection. | |
You should consider keeping the inner classes attributes | |
(using '-keepattributes InnerClasses'). | |
(http://proguard.sourceforge.net/manual/troubleshooting.html#attributes) | |
Note: there were 208 unkept descriptor classes in kept class members. | |
You should consider explicitly keeping the mentioned classes | |
(using '-keep'). |