diff options
author | Mishiranu <fukurou.mishiranu@gmail.com> | 2016-09-20 02:18:50 +0300 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-09-23 22:11:48 +0200 |
commit | 4fe3b4539a63c99515450af069d51e20722d3992 (patch) | |
tree | b6096731c05ac1ef440d503dcad2ae70ca1ab713 /src/main/res/layout/activity_edit_account.xml | |
parent | 4ff29db8b1d4273cf8e44c411a7362be1673bbde (diff) |
Fix "More table" layout
Retain "More table" visibility on screen orientation change
Diffstat (limited to 'src/main/res/layout/activity_edit_account.xml')
-rw-r--r-- | src/main/res/layout/activity_edit_account.xml | 55 |
1 files changed, 43 insertions, 12 deletions
diff --git a/src/main/res/layout/activity_edit_account.xml b/src/main/res/layout/activity_edit_account.xml index 5d8016b33..cfa07f65a 100644 --- a/src/main/res/layout/activity_edit_account.xml +++ b/src/main/res/layout/activity_edit_account.xml @@ -235,6 +235,7 @@ <TableLayout android:layout_width="match_parent" android:layout_height="wrap_content" + android:shrinkColumns="0" android:stretchColumns="1"> <TableRow @@ -247,7 +248,9 @@ android:layout_height="wrap_content" android:text="@string/server_info_session_established" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" + android:singleLine="true" + android:ellipsize="end"/> <TextView android:id="@+id/session_est" @@ -255,6 +258,7 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:textColor="@color/black87" + android:paddingLeft="4dp" android:textSize="?attr/TextSizeBody" tools:ignore="RtlHardcoded" /> </TableRow> @@ -265,6 +269,7 @@ android:id="@+id/server_info_more" android:layout_width="match_parent" android:layout_height="wrap_content" + android:shrinkColumns="0" android:stretchColumns="1" android:visibility="gone"> @@ -277,7 +282,9 @@ android:layout_height="wrap_content" android:text="@string/server_info_pep" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" + android:singleLine="true" + android:ellipsize="end"/> <TextView android:id="@+id/server_info_pep" @@ -285,6 +292,7 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:textColor="@color/black87" + android:paddingLeft="4dp" android:textSize="?attr/TextSizeBody" tools:ignore="RtlHardcoded" /> </TableRow> @@ -298,7 +306,9 @@ android:layout_height="wrap_content" android:text="@string/server_info_blocking" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" + android:singleLine="true" + android:ellipsize="end"/> <TextView android:id="@+id/server_info_blocking" @@ -306,6 +316,7 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:textColor="@color/black87" + android:paddingLeft="4dp" android:textSize="?attr/TextSizeBody" tools:ignore="RtlHardcoded" /> </TableRow> @@ -319,7 +330,9 @@ android:layout_height="wrap_content" android:text="@string/server_info_stream_management" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" + android:singleLine="true" + android:ellipsize="end"/> <TextView android:id="@+id/server_info_sm" @@ -327,6 +340,7 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:textColor="@color/black87" + android:paddingLeft="4dp" android:textSize="?attr/TextSizeBody" tools:ignore="RtlHardcoded" /> </TableRow> @@ -340,7 +354,9 @@ android:layout_height="wrap_content" android:text="@string/server_info_roster_version" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" + android:singleLine="true" + android:ellipsize="end"/> <TextView android:id="@+id/server_info_roster_version" @@ -348,6 +364,7 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:textColor="@color/black87" + android:paddingLeft="4dp" android:textSize="?attr/TextSizeBody" tools:ignore="RtlHardcoded" /> </TableRow> @@ -361,7 +378,9 @@ android:layout_height="wrap_content" android:text="@string/server_info_carbon_messages" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" + android:singleLine="true" + android:ellipsize="end"/> <TextView android:id="@+id/server_info_carbons" @@ -369,6 +388,7 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:textColor="@color/black87" + android:paddingLeft="4dp" android:textSize="?attr/TextSizeBody" tools:ignore="RtlHardcoded" /> </TableRow> @@ -382,7 +402,9 @@ android:layout_height="wrap_content" android:text="@string/server_info_mam" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" + android:singleLine="true" + android:ellipsize="end"/> <TextView android:id="@+id/server_info_mam" @@ -390,6 +412,7 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:textColor="@color/black87" + android:paddingLeft="4dp" android:textSize="?attr/TextSizeBody" tools:ignore="RtlHardcoded" /> </TableRow> @@ -403,7 +426,9 @@ android:layout_height="wrap_content" android:text="@string/server_info_csi" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" + android:singleLine="true" + android:ellipsize="end"/> <TextView android:id="@+id/server_info_csi" @@ -411,6 +436,7 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:textColor="@color/black87" + android:paddingLeft="4dp" android:textSize="?attr/TextSizeBody" tools:ignore="RtlHardcoded" /> </TableRow> @@ -425,7 +451,9 @@ android:layout_height="wrap_content" android:text="@string/server_info_push" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" + android:singleLine="true" + android:ellipsize="end"/> <TextView android:id="@+id/server_info_push" @@ -433,6 +461,7 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:textColor="@color/black87" + android:paddingLeft="4dp" android:textSize="?attr/TextSizeBody"/> </TableRow> <TableRow @@ -444,7 +473,9 @@ android:layout_height="wrap_content" android:text="@string/server_info_http_upload" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody"/> + android:textSize="?attr/TextSizeBody" + android:singleLine="true" + android:ellipsize="end"/> <TextView android:id="@+id/server_info_http_upload" @@ -452,8 +483,8 @@ android:layout_height="wrap_content" android:layout_gravity="right" android:textColor="@color/black87" - android:textSize="?attr/TextSizeBody" - tools:ignore="RtlHardcoded" /> + android:paddingLeft="4dp" + android:textSize="?attr/TextSizeBody"/> </TableRow> </TableLayout> |