Created
December 28, 2018 11:10
-
-
Save yudikarma/f1d1f1e688cad47e270ea720ea1c0a91 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<com.example.yudikarma.androidcamera.Helper.AutoFitTextureView | |
android:id="@+id/textureview" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toStartOf="@+id/cardView" | |
app:layout_constraintStart_toStartOf="parent" | |
android:layout_toStartOf="@id/cardView" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintVertical_bias="1.0" | |
tools:ignore="MissingConstraints" /> | |
<com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView | |
android:visibility="gone" | |
android:id="@+id/imageview" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_toStartOf="@id/cardView" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toStartOf="@+id/cardView" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="parent" | |
android:background="@color/colorPrimary" | |
app:layout_constraintVertical_bias="1.0" | |
tools:ignore="NotSibling" /> | |
<!--<me.relex.photodraweeview.PhotoDraweeView | |
android:id="@+id/photo_drawee_view" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
app:failureImage="@drawable/ic_error_outline_black_24dp" | |
app:failureImageScaleType="centerInside" | |
app:placeholderImage="@drawable/image_12" | |
app:placeholderImageScaleType="fitCenter" | |
app:progressBarAutoRotateInterval="1000" | |
app:progressBarImage="@drawable/ic_sync_problem_black_24dp" | |
app:progressBarImageScaleType="centerInside" | |
/>--> | |
<android.support.v7.widget.CardView | |
android:id="@+id/cardView" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:background="@color/colorPrimary" | |
app:cardBackgroundColor="@color/colorPrimary" | |
app:layout_constraintBottom_toBottomOf="parent" | |
android:layout_alignParentBottom="true" | |
android:layout_alignParentEnd="true" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintVertical_bias="1.0" | |
tools:ignore="MissingConstraints"> | |
<RelativeLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<android.support.v7.widget.AppCompatButton | |
android:id="@+id/btn_shot" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_alignParentStart="true" | |
android:layout_alignParentRight="true" | |
android:layout_alignParentBottom="true" | |
android:layout_centerVertical="true" | |
android:layout_gravity="bottom|right" | |
android:layout_marginBottom="1dp" | |
android:background="@drawable/circlebuttonshape" | |
android:clickable="true" | |
android:focusable="true" | |
android:text="SHOT" | |
android:textStyle="bold" | |
android:textColor="#ffffff" | |
app:fabSize="normal" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintHorizontal_bias="0.939" | |
app:layout_constraintStart_toStartOf="parent" /> | |
<!--<android.support.design.widget.FloatingActionButton | |
android:id="@+id/btn_shot" | |
android:layout_width="64dp" | |
android:layout_height="92dp" | |
android:layout_alignParentStart="true" | |
android:layout_centerVertical="true" | |
android:layout_marginStart="8dp" | |
android:layout_marginEnd="8dp" | |
android:clickable="true" | |
android:focusable="true" | |
app:fabSize="normal" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintHorizontal_bias="0.939" | |
app:layout_constraintStart_toStartOf="parent" | |
app:srcCompat="@drawable/lens" | |
tools:ignore="MissingConstraints" | |
tools:layout_editor_absoluteY="136dp" />--> | |
<!-- <ImageButton | |
android:id="@+id/btn_cancel" | |
android:layout_width="45dp" | |
android:layout_height="47dp" | |
android:layout_alignParentStart="true" | |
android:layout_alignParentTop="true" | |
android:layout_alignParentEnd="true" | |
android:layout_alignParentBottom="true" | |
android:layout_marginStart="40dp" | |
android:layout_marginTop="312dp" | |
android:layout_marginEnd="4dp" | |
android:layout_marginBottom="0dp" | |
android:contentDescription="TODO" | |
android:src="@drawable/ic_close_black_24dp" | |
tools:ignore="MissingConstraints" />--> | |
<android.support.v7.widget.AppCompatButton | |
android:id="@+id/btn_galery" | |
android:layout_margin="3dp" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:gravity="center" | |
android:background="@drawable/buttonrectangle" | |
android:text="Gallery" | |
android:theme="@style/Button.Accent" | |
tools:ignore="MissingConstraints" /> | |
<android.support.v7.widget.AppCompatButton | |
android:layout_margin="3dp" | |
android:id="@+id/btn_cancel" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_alignParentStart="true" | |
android:layout_alignParentBottom="true" | |
android:gravity="center" | |
android:background="@drawable/buttonrectangle" | |
android:text="Cancel" | |
android:theme="@style/Button.Accent" /> | |
</RelativeLayout> | |
</android.support.v7.widget.CardView> | |
</RelativeLayout> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment