summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout/link_viewer_activity.xml9
-rw-r--r--res/values/themes.xml2
2 files changed, 2 insertions, 9 deletions
diff --git a/res/layout/link_viewer_activity.xml b/res/layout/link_viewer_activity.xml
index 1647123..21b943f 100644
--- a/res/layout/link_viewer_activity.xml
+++ b/res/layout/link_viewer_activity.xml
@@ -21,19 +21,12 @@
android:layout_height="match_parent"
android:background="@android:color/black">
- <com.android.car.ui.toolbar.Toolbar
- android:id="@+id/car_toolbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:title="@string/app_name"
- app:state="subpage"/>
-
<TextView
style="?android:attr/textAppearanceLarge"
android:id="@+id/url_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_below="@id/car_toolbar"
+ android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:maxLines="1"
android:ellipsize="end" />
diff --git a/res/values/themes.xml b/res/values/themes.xml
index c8c2c56..1fdd264 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -15,5 +15,5 @@
-->
<resources>
<!-- The theme for the LinkViewerActivity. -->
- <style name="AppTheme" parent="Theme.CarUi"/>
+ <style name="AppTheme" parent="Theme.CarUi.WithToolbar"/>
</resources>