diff --git a/app/src/main/java/info/nerull7/mysqlbrowser/EntriesFragment.java b/app/src/main/java/info/nerull7/mysqlbrowser/EntriesFragment.java index ee3114a..6d10075 100644 --- a/app/src/main/java/info/nerull7/mysqlbrowser/EntriesFragment.java +++ b/app/src/main/java/info/nerull7/mysqlbrowser/EntriesFragment.java @@ -1,6 +1,5 @@ package info.nerull7.mysqlbrowser; -import android.app.ActionBar; import android.app.Fragment; import android.graphics.Typeface; import android.os.Bundle; @@ -164,7 +163,7 @@ public class EntriesFragment extends Fragment implements AsyncDatabaseConnector. textView.setText(elements.get(j)); textView.setLayoutParams(layoutParams); textView.setPadding(ENTRIES_PADDING_LEFT, ENTRIES_PADDING_TOP, ENTRIES_PADDING_RIGHT, ENTRIES_PADDING_BOTTOM); - textView.setBackgroundResource(R.drawable.border_emelent); + textView.setBackgroundResource(R.drawable.background_element); newRow.addView(textView); } entriesTable.addView(newRow); @@ -195,7 +194,7 @@ public class EntriesFragment extends Fragment implements AsyncDatabaseConnector. textView.setText(fieldList.get(i)); textView.setTypeface(null, Typeface.BOLD); textView.setLayoutParams(layoutParams); - textView.setBackgroundResource(R.drawable.border_emelent); + textView.setBackgroundResource(R.drawable.background_header); textView.setPadding(HEADER_PADDING_LEFT, HEADER_PADDING_TOP, HEADER_PADDING_RIGHT, HEADER_PADDING_BOTTOM); headerRow.addView(textView); } diff --git a/app/src/main/res/drawable/border_emelent.xml b/app/src/main/res/drawable/background_element.xml similarity index 74% rename from app/src/main/res/drawable/border_emelent.xml rename to app/src/main/res/drawable/background_element.xml index 84f7380..a682ad2 100644 --- a/app/src/main/res/drawable/border_emelent.xml +++ b/app/src/main/res/drawable/background_element.xml @@ -3,6 +3,6 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/background_header.xml b/app/src/main/res/drawable/background_header.xml new file mode 100644 index 0000000..0063bd1 --- /dev/null +++ b/app/src/main/res/drawable/background_header.xml @@ -0,0 +1,8 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..86784b1 --- /dev/null +++ b/app/src/main/res/values/colors.xml @@ -0,0 +1,5 @@ + + + @android:color/tab_indicator_text + @android:color/holo_orange_light + \ No newline at end of file