Skip to content
Snippets Groups Projects
Commit d9dc05e0 authored by Mohamed Amine Younes Bouacida's avatar Mohamed Amine Younes Bouacida Committed by Adrien Béraud
Browse files

account summary: update the layout of account summary

Make the backup and password buttons fit horizontally

Change-Id: Ic867c3bf28e152e0ffb58ce9979fd15858a971a3
Gitlab: #590
parent 1f34acd9
Branches
Tags
No related merge requests found
...@@ -101,27 +101,29 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. ...@@ -101,27 +101,29 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="end" android:layout_gravity="center"
android:layout_marginTop="8dp"
android:baselineAligned="false"
android:orientation="horizontal"> android:orientation="horizontal">
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/export_account_btn" android:id="@+id/export_account_btn"
style="@style/Widget.MaterialComponents.Button.OutlinedButton" style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="8dp" android:layout_marginStart="8dp"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingStart="16dp" android:layout_weight="1"
android:paddingEnd="16dp"
android:text="@string/account_export_file" /> android:text="@string/account_export_file" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/change_password_btn" android:id="@+id/change_password_btn"
style="@style/Widget.MaterialComponents.Button.OutlinedButton" style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingStart="16dp" android:layout_marginStart="8dp"
android:paddingEnd="16dp" android:layout_marginEnd="8dp"
android:layout_weight="1"
android:text="@string/account_password_change" /> android:text="@string/account_password_change" />
</LinearLayout> </LinearLayout>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment