Coloring of actionbar
This commit is contained in:
parent
4e3e0ea218
commit
07667f69c7
3 changed files with 28 additions and 14 deletions
app/src/main
|
@ -26,7 +26,8 @@
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".EntriesActivity"
|
android:name=".EntriesActivity"
|
||||||
android:label="@string/title_activity_entries" >
|
android:label="@string/title_activity_entries"
|
||||||
|
android:theme="@style/EntriesTheme" >
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".SettingsActivity"
|
android:name=".SettingsActivity"
|
||||||
|
|
|
@ -4,18 +4,6 @@
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context="info.nerull7.mysqlbrowser.EntriesFragment">
|
tools:context="info.nerull7.mysqlbrowser.EntriesFragment">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<ProgressBar
|
|
||||||
style="?android:attr/progressBarStyleHorizontal"
|
|
||||||
android:indeterminate="true"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:id="@+id/loginProgressBar"
|
|
||||||
android:layout_centerHorizontal="true"
|
|
||||||
android:layout_alignParentTop="false"
|
|
||||||
android:layout_marginTop="-7dp" />
|
|
||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
|
@ -43,7 +31,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:id="@+id/headerFrame"
|
android:id="@+id/headerFrame"
|
||||||
android:paddingTop="@dimen/activity_vertical_margin"></FrameLayout>
|
></FrameLayout>
|
||||||
|
|
||||||
<info.nerull7.mysqlbrowser.CustomScrollView
|
<info.nerull7.mysqlbrowser.CustomScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -60,4 +48,14 @@
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</HorizontalScrollView>
|
</HorizontalScrollView>
|
||||||
|
|
||||||
|
<ProgressBar
|
||||||
|
style="?android:attr/progressBarStyleHorizontal"
|
||||||
|
android:indeterminate="true"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:id="@+id/loginProgressBar"
|
||||||
|
android:layout_centerHorizontal="true"
|
||||||
|
android:layout_alignParentTop="false"
|
||||||
|
android:layout_marginTop="-7dp" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
15
app/src/main/res/values/themes.xml
Normal file
15
app/src/main/res/values/themes.xml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<!--Activites Themes-->
|
||||||
|
<style name="EntriesTheme"
|
||||||
|
parent="android:Theme.Holo.Light">
|
||||||
|
<item name="android:actionBarStyle">@style/EntriesActionBar</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<!--Action Bar styles-->
|
||||||
|
<style name="EntriesActionBar"
|
||||||
|
parent="android:Widget.Holo.Light.ActionBar.Solid" >
|
||||||
|
<item name="android:background">@color/header_background</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</resources>
|
Loading…
Add table
Reference in a new issue