|
@@ -18,11 +18,9 @@
|
|
You should have received a copy of the GNU Affero General Public License
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
-->
|
|
-->
|
|
-<LinearLayout
|
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:orientation="vertical"
|
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/black">
|
|
android:background="@color/black">
|
|
|
|
|
|
@@ -33,27 +31,33 @@
|
|
android:background="@color/black"
|
|
android:background="@color/black"
|
|
android:elevation="4dp"
|
|
android:elevation="4dp"
|
|
android:minHeight="?attr/actionBarSize"
|
|
android:minHeight="?attr/actionBarSize"
|
|
- android:theme="@style/Theme.ownCloud.Toolbar.AppWidgetContainer" />
|
|
|
|
|
|
+ android:theme="@style/Theme.ownCloud.Toolbar.AppWidgetContainer"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<com.canhub.cropper.CropImageView
|
|
<com.canhub.cropper.CropImageView
|
|
android:id="@+id/cropImageView"
|
|
android:id="@+id/cropImageView"
|
|
- android:layout_gravity="center"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="0dp"/>
|
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
+ android:layout_margin="0dp"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/toolbar" />
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:id="@+id/edit_buttons_layout"
|
|
android:id="@+id/edit_buttons_layout"
|
|
- android:layout_gravity="center"
|
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:gravity="center_vertical"
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginBottom="16dp"
|
|
android:background="@drawable/rounded_rect"
|
|
android:background="@drawable/rounded_rect"
|
|
android:backgroundTint="@color/grey_900"
|
|
android:backgroundTint="@color/grey_900"
|
|
android:elevation="4dp"
|
|
android:elevation="4dp"
|
|
android:orientation="horizontal"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="8dp"
|
|
android:paddingLeft="8dp"
|
|
- android:paddingRight="8dp">
|
|
|
|
|
|
+ android:paddingRight="8dp"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent">
|
|
|
|
|
|
<ImageButton
|
|
<ImageButton
|
|
android:id="@+id/rotate_left"
|
|
android:id="@+id/rotate_left"
|
|
@@ -105,4 +109,4 @@
|
|
app:srcCompat="@drawable/outline_flip_24"
|
|
app:srcCompat="@drawable/outline_flip_24"
|
|
app:tint="@color/white" />
|
|
app:tint="@color/white" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
-</LinearLayout>
|
|
|
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|