Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57d41704 authored by Marten Gajda's avatar Marten Gajda
Browse files

improve styling

parent 2a2edb36
Loading
Loading
Loading
Loading
+20 −6
Original line number Diff line number Diff line
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res/org.dmfs.tasks"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@android:color/white"
@@ -10,8 +11,15 @@
        android:id="@+id/tabs"
        android:layout_width="match_parent"
        android:layout_height="48dip"
        android:background="?attr/primaryColor"
        app:pstsIndicatorColor="@android:color/white"
        app:pstsShouldExpand="true"
        app:pstsTabPaddingLeftRight="0dp" />
        app:pstsTabPaddingLeftRight="0dp"
        app:pstsUnderlineColor="@android:color/transparent" />

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent" >

        <android.support.v4.view.ViewPager
            xmlns:tools="http://schemas.android.com/tools"
@@ -20,4 +28,10 @@
            android:layout_height="match_parent"
            tools:context=".MainActivity" />

        <View
            android:layout_width="match_parent"
            android:layout_height="4dp"
            android:background="@drawable/window_overlay" />
    </FrameLayout>

</LinearLayout>
 No newline at end of file
+3 −2
Original line number Diff line number Diff line
@@ -4,9 +4,10 @@
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="#fff0f0f0"
    android:minHeight="?android:attr/listPreferredItemHeight"
    android:paddingBottom="8dp"
    android:paddingLeft="@dimen/task_list_left_margin"
    android:paddingRight="@dimen/task_list_right_margin" >
    android:paddingRight="@dimen/task_list_right_margin"
    android:paddingTop="8dp" >

    <View
        android:id="@+id/colorbar1"
+3 −2
Original line number Diff line number Diff line
@@ -4,9 +4,10 @@
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="#fff0f0f0"
    android:minHeight="?android:attr/listPreferredItemHeight"
    android:paddingBottom="16dp"
    android:paddingLeft="@dimen/task_list_left_margin"
    android:paddingRight="@dimen/task_list_right_margin" >
    android:paddingRight="@dimen/task_list_right_margin"
    android:paddingTop="16dp" >

    <TextView
        android:id="@android:id/title"
+4 −4
Original line number Diff line number Diff line
<resources xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">

    <style name="AppTheme" parent="android:Theme.Holo.Light">
        <item name="primaryColor">#333</item>
    <style name="AppBaseTheme" parent="android:Theme.Holo.Light">
        <item name="android:windowContentOverlay">@null</item>
    </style>

    <style name="DetailsTheme" parent="AppTheme">
@@ -56,8 +56,8 @@
    </style>

    <style name="task_group_text">
        <item name="android:textColor" tools:targetApi="14">@color/holo_blue_dark</item>
        <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
        <item name="android:textColor" tools:targetApi="14">@color/darker_gray</item>
        <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
    </style>

    <style name="task_list_item_text" parent="android:attr/textAppearanceMedium">
+16 −7
Original line number Diff line number Diff line
<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar"></style>

    <style name="DetailsTheme" parent="AppTheme">
        <item name="android:windowActionBarOverlay">true</item>
        <item name="android:actionBarStyle">@style/DetailsActionBar</item>
    <style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
        <item name="android:actionBarStyle">@style/ActionBar</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:actionBarWidgetTheme">@style/actionBarWidgetTheme</item>
    </style>

    <!-- ActionBar styles -->
    <style name="ActionBar" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
        <item name="android:background">?attr/primaryColor</item>
        <item name="android:displayOptions">showTitle</item>
        <item name="android:icon">@android:color/transparent</item>
    </style>

    <!-- ActionBar styles -->
@@ -15,6 +20,10 @@
        <item name="android:icon">@android:color/transparent</item>
    </style>

    <style name="actionBarWidgetTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
        <item name="android:textColorHint">#80ffffff</item>
    </style>

    <style name="task_progressbar" parent="android:Widget.Holo.ProgressBar.Horizontal"></style>

    <style name="task_seekbar" parent="android:Widget.Holo.SeekBar"></style>
Loading