|
220 | 220 | <Button |
221 | 221 | android:id="@+id/bookD2ToolbarItemButton" |
222 | 222 | style="@style/Palace.Button.Contained.Medium" |
223 | | - android:layout_width="128dp" |
| 223 | + android:layout_width="176dp" |
224 | 224 | android:layout_height="48dp" |
225 | 225 | android:layout_marginEnd="32dp" |
226 | 226 | android:layout_marginBottom="16dp" |
227 | | - android:text="@string/catalogGet" |
| 227 | + android:autoSizeMinTextSize="14sp" |
| 228 | + android:autoSizeTextType="uniform" |
| 229 | + android:ellipsize="end" |
| 230 | + android:text="@string/catalogDownload" |
228 | 231 | app:layout_constraintBottom_toBottomOf="parent" |
229 | 232 | app:layout_constraintEnd_toEndOf="parent" |
230 | 233 | app:strokeColor="@android:color/white" |
|
333 | 336 | <Button |
334 | 337 | android:id="@+id/book2DOverlayButton0" |
335 | 338 | style="@style/Palace.Button.Contained.Medium" |
336 | | - android:layout_width="128dp" |
| 339 | + android:layout_width="160dp" |
337 | 340 | android:layout_height="wrap_content" |
338 | | - android:text="@string/catalogGet" /> |
| 341 | + android:autoSizeMinTextSize="14sp" |
| 342 | + android:autoSizeTextType="uniform" |
| 343 | + android:ellipsize="end" |
| 344 | + android:maxLines="1" |
| 345 | + android:text="@string/catalogDownload" /> |
339 | 346 |
|
340 | 347 | <View |
341 | | - android:layout_width="8dp" |
342 | | - android:layout_height="8dp" /> |
| 348 | + android:layout_width="16dp" |
| 349 | + android:layout_height="16dp" /> |
343 | 350 |
|
344 | 351 | <Button |
345 | 352 | android:id="@+id/book2DOverlayButton1" |
346 | 353 | style="@style/Palace.Button.Outlined.Medium" |
347 | | - android:layout_width="128dp" |
| 354 | + android:layout_width="160dp" |
348 | 355 | android:layout_height="wrap_content" |
| 356 | + android:autoSizeMinTextSize="14sp" |
| 357 | + android:autoSizeTextType="uniform" |
| 358 | + android:ellipsize="end" |
| 359 | + android:maxLines="1" |
349 | 360 | android:text="@string/catalogPreview" /> |
350 | 361 | </LinearLayout> |
351 | 362 |
|
|
356 | 367 | android:layout_width="match_parent" |
357 | 368 | android:layout_height="match_parent" |
358 | 369 | android:background="#7f000000" |
359 | | - android:elevation="10dp" /> |
| 370 | + android:elevation="10dp" |
| 371 | + tools:visibility="gone" /> |
360 | 372 |
|
361 | 373 | <!-- Bottom sheet. --> |
362 | 374 | <androidx.constraintlayout.widget.ConstraintLayout |
363 | | - android:elevation="20dp" |
364 | 375 | android:layout_width="match_parent" |
365 | | - android:layout_height="match_parent"> |
| 376 | + android:layout_height="match_parent" |
| 377 | + android:elevation="20dp"> |
366 | 378 |
|
367 | 379 | <org.librarysimplified.ui.bottomsheet.PalaceBottomSheet |
368 | 380 | android:id="@+id/book2DBottomSheet" |
| 381 | + android:layout_width="0dp" |
| 382 | + android:layout_height="wrap_content" |
369 | 383 | app:layout_constraintBottom_toBottomOf="parent" |
370 | | - app:layout_constraintStart_toStartOf="parent" |
371 | 384 | app:layout_constraintEnd_toEndOf="parent" |
372 | | - android:layout_width="0dp" |
373 | | - android:layout_height="wrap_content"> |
374 | | - <include layout="@layout/book_detail2_drawer_content"/> |
| 385 | + app:layout_constraintStart_toStartOf="parent"> |
| 386 | + |
| 387 | + <include layout="@layout/book_detail2_drawer_content" /> |
375 | 388 | </org.librarysimplified.ui.bottomsheet.PalaceBottomSheet> |
376 | 389 | </androidx.constraintlayout.widget.ConstraintLayout> |
377 | 390 |
|
|
0 commit comments