make sure the background is black even at very few directories

This commit is contained in:
tibbi 2016-02-20 18:59:18 +01:00
parent 90d5d99c08
commit 8e66c935a6
2 changed files with 3 additions and 2 deletions

View file

@ -14,6 +14,7 @@ import java.util.Map;
import java.util.TreeMap; import java.util.TreeMap;
public class MainActivity extends AppCompatActivity { public class MainActivity extends AppCompatActivity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);

View file

@ -2,13 +2,13 @@
<RelativeLayout <RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent"
android:background="@android:color/black">
<GridView <GridView
android:id="@+id/photo_grid" android:id="@+id/photo_grid"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@android:color/black"
android:columnWidth="@dimen/photo_size" android:columnWidth="@dimen/photo_size"
android:horizontalSpacing="2dp" android:horizontalSpacing="2dp"
android:numColumns="auto_fit" android:numColumns="auto_fit"