SetupWizard: Ellipsize long text in button bar

Change-Id: Id71b60b449545aeb92bd2325c8ded769bee8e014
This commit is contained in:
cretin45 2015-02-23 13:46:35 -08:00
parent 822c7ec5f8
commit c4584a78e3
2 changed files with 9 additions and 8 deletions

View File

@ -14,23 +14,23 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/button_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/button_bar_background">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/button_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="@color/button_bar_background">
<Button
style="@style/ButtonBar.Left"
android:id="@+id/prev_button"
android:layout_width="wrap_content"
android:layout_alignParentLeft="true"/>
android:layout_weight="1"/>
<Button
style="@style/ButtonBar.Right"
android:id="@+id/next_button"
android:layout_width="wrap_content"
android:layout_alignParentRight="true"
android:text="@string/next" />
</RelativeLayout>
</LinearLayout>

View File

@ -69,6 +69,7 @@
<item name="android:textColor">@color/primary_text</item>
<item name="android:fontFamily">sans-serif</item>
<item name="android:drawablePadding">6dp</item>
<item name="android:ellipsize">end</item>
</style>
<style name="ButtonBar.Left">