TRACKING APP: Toolbar customization

This commit is contained in:
Lukas Zielinski committed 2014-12-02 16:06:42 +01:00
1 parent e34fc319dd
commit dac184300c
2 files changed
+47 -50

No files matched your search

@@ -1,20 +1,38 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<com.sap.sailing.android.tracking.app.customviews.OpenSansToolbar
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/ThemeOverlay.AppCompat.ActionBar" />
android:theme="@style/ThemeOverlay.AppCompat.ActionBar" >
<LinearLayout android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="10dp">
<com.sap.sailing.android.tracking.app.views.AutoResizeTextView
android:id="@+id/toolbar_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="18sp"/>
<com.sap.sailing.android.tracking.app.views.AutoResizeTextView
android:id="@+id/toolbar_subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="14sp" />
</LinearLayout>
</com.sap.sailing.android.tracking.app.customviews.OpenSansToolbar>
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/toolbar" />
</RelativeLayout>