Skip to content
Snippets Groups Projects
Commit 0e44e913 authored by Alexandre Lision's avatar Alexandre Lision
Browse files

style: added background to app theme

parent 3e2a1d00
Branches
Tags
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
android:id="@+id/frag_container" android:id="@+id/frag_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".ActivityHolder" > tools:context=".ActivityHolder"
android:background="@drawable/bg_72" >
</FrameLayout> </FrameLayout>
\ No newline at end of file
...@@ -34,8 +34,7 @@ as that of the covered work. ...@@ -34,8 +34,7 @@ as that of the covered work.
xmlns:app="http://schemas.android.com/apk/res/org.sflphone" xmlns:app="http://schemas.android.com/apk/res/org.sflphone"
android:id="@+id/drawer_layout" android:id="@+id/drawer_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent" >
android:background="@color/sfl_dark_blue" >
<RelativeLayout <RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
...@@ -44,6 +43,12 @@ as that of the covered work. ...@@ -44,6 +43,12 @@ as that of the covered work.
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" > android:orientation="vertical" >
<ImageView
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
android:layout_alignParentTop="true"
android:background="@color/sfl_dark_blue" />
<org.sflphone.views.PagerSlidingTabStrip <org.sflphone.views.PagerSlidingTabStrip
android:id="@+id/pts_main" android:id="@+id/pts_main"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -59,7 +64,6 @@ as that of the covered work. ...@@ -59,7 +64,6 @@ as that of the covered work.
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@+id/pts_main" android:layout_below="@+id/pts_main"
android:background="@drawable/bg_72"
android:paddingBottom="@dimen/contact_drawer_handle_height" /> android:paddingBottom="@dimen/contact_drawer_handle_height" />
<ImageView <ImageView
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical" > android:orientation="vertical" >
<ImageView <ImageView
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content" >
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:layout_marginTop="15dp"
android:padding="5dp" >
<org.sflphone.views.ClearableEditText <org.sflphone.views.ClearableEditText
android:id="@+id/textField" android:id="@+id/textField"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentTop="true" /> android:layout_alignParentTop="true"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp" />
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<item name="android:actionBarStyle">@style/MyActionBar</item> <item name="android:actionBarStyle">@style/MyActionBar</item>
<item name="android:actionMenuTextAppearance">@style/MyActionBar.MenuTextStyle</item> <item name="android:actionMenuTextAppearance">@style/MyActionBar.MenuTextStyle</item>
<item name="android:windowActionBarOverlay">true</item> <item name="android:windowActionBarOverlay">true</item>
<item name="android:windowBackground">@drawable/bg_72</item>
</style> </style>
<style name="AppThemeWithoutOverlay" parent="android:Theme.Holo.Light"> <style name="AppThemeWithoutOverlay" parent="android:Theme.Holo.Light">
......
...@@ -32,7 +32,9 @@ as that of the covered work. ...@@ -32,7 +32,9 @@ as that of the covered work.
<resources> <resources>
<style name="AppTheme" parent="android:Theme.Light" /> <style name="AppTheme" parent="android:Theme.Light" >
<item name="android:background">@drawable/bg_72</item>
</style>
<style name="AccountFormContainer"> <style name="AccountFormContainer">
<item name="android:layout_width">match_parent</item> <item name="android:layout_width">match_parent</item>
......
...@@ -125,17 +125,6 @@ public class MenuFragment extends Fragment implements LoaderCallbacks<Bundle>, A ...@@ -125,17 +125,6 @@ public class MenuFragment extends Fragment implements LoaderCallbacks<Bundle>, A
mAdapter = new MenuAdapter(getActivity()); mAdapter = new MenuAdapter(getActivity());
accountReceiver = new AccountsReceiver(this); accountReceiver = new AccountsReceiver(this);
String[] categories = getResources().getStringArray(R.array.menu_categories);
// ArrayAdapter<String> paramAdapter = new ArrayAdapter<String>(getActivity(), R.layout.item_menu, getResources().getStringArray(
// R.array.menu_items_param));
// ArrayAdapter<String> helpAdapter = new ArrayAdapter<String>(getActivity(), R.layout.item_menu, getResources().getStringArray(
// R.array.menu_items_help));
// Add Sections
// mAdapter.addSection(categories[0], paramAdapter);
// mAdapter.addSection(categories[1], helpAdapter);
} }
public void onResume() { public void onResume() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment