Change next arrow when no contacts are selected
This commit is contained in:
parent
39380d754e
commit
83b182f591
3 changed files with 3 additions and 1 deletions
BIN
res/drawable-xhdpi/dialer_alt_next.png
Normal file
BIN
res/drawable-xhdpi/dialer_alt_next.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1,015 B |
|
@ -70,7 +70,7 @@
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/next"
|
android:id="@+id/next"
|
||||||
android:src="@drawable/next"
|
android:src="@drawable/dialer_alt_next"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="0.2"
|
android:layout_weight="0.2"
|
||||||
|
|
|
@ -157,7 +157,9 @@ public class ChatCreationFragment extends Fragment implements View.OnClickListen
|
||||||
if (contactsSelected.size() > 0) {
|
if (contactsSelected.size() > 0) {
|
||||||
contactsSelectLayout.setVisibility(View.VISIBLE);
|
contactsSelectLayout.setVisibility(View.VISIBLE);
|
||||||
contactsSelectLayout.invalidate();
|
contactsSelectLayout.invalidate();
|
||||||
|
next.setImageResource(R.drawable.next);
|
||||||
} else {
|
} else {
|
||||||
|
next.setImageResource(R.drawable.dialer_alt_next);
|
||||||
contactsSelectLayout.setVisibility(View.GONE);
|
contactsSelectLayout.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue