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
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
android:id="@+id/frag_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ActivityHolder" >
tools:context=".ActivityHolder"
android:background="@drawable/bg_72" >
</FrameLayout>
\ No newline at end of file
......@@ -34,8 +34,7 @@ as that of the covered work.
xmlns:app="http://schemas.android.com/apk/res/org.sflphone"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/sfl_dark_blue" >
android:layout_height="match_parent" >
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
......@@ -44,6 +43,12 @@ as that of the covered work.
android:layout_height="match_parent"
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
android:id="@+id/pts_main"
android:layout_width="match_parent"
......@@ -59,7 +64,6 @@ as that of the covered work.
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/pts_main"
android:background="@drawable/bg_72"
android:paddingBottom="@dimen/contact_drawer_handle_height" />
<ImageView
......
......@@ -7,7 +7,6 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical" >
<ImageView
......
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:layout_marginTop="15dp"
android:padding="5dp" >
android:layout_height="wrap_content" >
<org.sflphone.views.ClearableEditText
android:id="@+id/textField"
android:layout_width="match_parent"
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
android:layout_width="match_parent"
......
......@@ -4,8 +4,9 @@
<item name="android:actionBarStyle">@style/MyActionBar</item>
<item name="android:actionMenuTextAppearance">@style/MyActionBar.MenuTextStyle</item>
<item name="android:windowActionBarOverlay">true</item>
<item name="android:windowBackground">@drawable/bg_72</item>
</style>
<style name="AppThemeWithoutOverlay" parent="android:Theme.Holo.Light">
<item name="android:actionBarStyle">@style/MyActionBar</item>
<item name="android:actionMenuTextAppearance">@style/MyActionBar.MenuTextStyle</item>
......
......@@ -32,7 +32,9 @@ as that of the covered work.
<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">
<item name="android:layout_width">match_parent</item>
......
......@@ -125,17 +125,6 @@ public class MenuFragment extends Fragment implements LoaderCallbacks<Bundle>, A
mAdapter = new MenuAdapter(getActivity());
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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment