mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
Improve appearance of "no contacts" indicators by centering them.
Also remove pointless scroll views.
This commit is contained in:
parent
f18324e2d6
commit
bee964dcf8
@ -8,21 +8,11 @@
|
|||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:fastScrollEnabled="true"/>
|
android:fastScrollEnabled="true"/>
|
||||||
|
|
||||||
<ScrollView android:id="@android:id/empty"
|
<TextView android:id="@android:id/empty"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:fillViewport="true">
|
android:gravity="center|center_vertical"
|
||||||
|
|
||||||
<TextView android:id="@+id/emptyText"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/contact_selection_group_activity__no_contacts"
|
android:text="@string/contact_selection_group_activity__no_contacts"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp" />
|
||||||
android:textColor="?android:attr/textColorSecondary"
|
|
||||||
android:paddingLeft="10dip"
|
|
||||||
android:paddingRight="10dip"
|
|
||||||
android:paddingTop="10dip"
|
|
||||||
android:lineSpacingMultiplier="0.92"
|
|
||||||
/>
|
|
||||||
</ScrollView>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -9,20 +9,11 @@
|
|||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:fastScrollEnabled="true" />
|
android:fastScrollEnabled="true" />
|
||||||
|
|
||||||
<ScrollView android:id="@android:id/empty"
|
<TextView android:id="@android:id/empty"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:fillViewport="true">
|
android:gravity="center|center_vertical"
|
||||||
<TextView android:id="@+id/emptyText"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/contact_selection_group_activity__no_contacts"
|
android:text="@string/contact_selection_group_activity__no_contacts"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp" />
|
||||||
android:textColor="?android:attr/textColorSecondary"
|
|
||||||
android:paddingLeft="10dip"
|
|
||||||
android:paddingRight="10dip"
|
|
||||||
android:paddingTop="10dip"
|
|
||||||
android:lineSpacingMultiplier="0.92"
|
|
||||||
/>
|
|
||||||
</ScrollView>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -10,21 +10,11 @@
|
|||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:fastScrollEnabled="true" />
|
android:fastScrollEnabled="true" />
|
||||||
|
|
||||||
<ScrollView android:id="@android:id/empty"
|
<TextView android:id="@android:id/empty"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:fillViewport="true" >
|
android:gravity="center|center_vertical"
|
||||||
|
|
||||||
<TextView android:id="@+id/emptyText"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/contact_selection_recent_activity__no_recent_calls"
|
android:text="@string/contact_selection_recent_activity__no_recent_calls"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp" />
|
||||||
android:textColor="?android:attr/textColorSecondary"
|
|
||||||
android:paddingLeft="10dip"
|
|
||||||
android:paddingRight="10dip"
|
|
||||||
android:paddingTop="10dip"
|
|
||||||
android:lineSpacingMultiplier="0.92"
|
|
||||||
/>
|
|
||||||
</ScrollView>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user