Skip to content

Commit

Permalink
Some adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
nevack committed Dec 25, 2016
1 parent feeb32e commit c9e7c99
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.NavigationView;
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/drawable/category_item_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">

<gradient android:angle="270.0" android:startColor="#00000000"
android:endColor="#99212121"
android:type="linear"/>
</shape>
2 changes: 1 addition & 1 deletion app/src/main/res/layout-land/activity_converter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<org.nevack.unitconverter.ConverterDisplayView
android:id="@+id/display"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
android:layout_height="match_parent"/>
</LinearLayout>

<org.nevack.unitconverter.KeypadView
Expand Down
10 changes: 2 additions & 8 deletions app/src/main/res/layout/category_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,10 @@

<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/divider_color_dark"
android:layout_height="4dp"
android:background="@drawable/category_item_background"
android:layout_gravity="bottom"/>

<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/divider_color_light"
android:layout_gravity="top"/>

<View
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down

0 comments on commit c9e7c99

Please sign in to comment.