Commit dc4aacc3 authored by Gilbert Ndresaj's avatar Gilbert Ndresaj

Ui Fix

parent 923f6d16
......@@ -462,7 +462,7 @@ public class PhotosActivity extends AppCompatActivity {
return true;
}
public void fabClicked(View v){
public void fabClick(View v){
Intent i = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA);
startActivity(i);
}
......
......@@ -101,7 +101,7 @@
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:onClick="fabClicked"
android:onClick="fabClick"
style="@style/fab"
android:theme="@style/ThemeOverlay.AppCompat.Light"
app:borderWidth="0dp"
......
......@@ -11,7 +11,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:cardElevation="5dp"
android:layout_margin="2dp">
android:layout_margin="1dp"
>
<RelativeLayout
android:id="@+id/layout_card_id"
......
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
>
<android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="130dp"
android:layout_margin="8dp"
android:orientation="vertical"
tools:ignore="MissingPrefix">
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="150dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:orientation="vertical"
tools:ignore="MissingPrefix"
>
<ImageView
android:id="@+id/item_image_img"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:adjustViewBounds="false"
android:scaleType="centerCrop"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment