summaryrefslogtreecommitdiffstats
path: root/res/layout/button_bar.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/button_bar.xml')
-rw-r--r--res/layout/button_bar.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/res/layout/button_bar.xml b/res/layout/button_bar.xml
index ae3d42d..8b8256d 100644
--- a/res/layout/button_bar.xml
+++ b/res/layout/button_bar.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
+ Copyright (C) 2017 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -24,13 +25,16 @@
<Button
style="@style/ButtonBar.Left"
android:id="@+id/prev_button"
- android:layout_width="wrap_content"
- android:layout_weight="1"/>
+ android:layout_width="0dp"
+ android:background="?android:attr/selectableItemBackground"
+ android:layout_weight="3"/>
<Button
style="@style/ButtonBar.Right"
android:id="@+id/next_button"
- android:layout_width="wrap_content"
- android:text="@string/next" />
+ android:layout_width="0dp"
+ android:background="?android:attr/selectableItemBackground"
+ android:text="@string/next"
+ android:layout_weight="2" />
-</LinearLayout> \ No newline at end of file
+</LinearLayout>