how to design ads post activity like olx?
I am new in android studio i want to make picture post activity design like olx ads post activity.For clear understanding of the design pattern i have provided a link below. I just want my activity design same like the snapshot in the link. Hope i describe my question now properly.
See also questions close to this topic
What does a greyed out view in the Android Layout Inspector mean?
In Android Studio, Tools -> Layout Inspector, what does a greyed out(subdued, dim) view in the View Tree mean? The layer still has
I don't see any explanation in the docs, https://developer.android.com/studio/debug/layout-inspector and there isn't a tooltip when hovering the view.
For context/reference, I am trying to figure out why the fragment isn't showing up in the
The project is open source if you want to check out the code yourself, https://gitlab.com/gitlab-org/gitter/gitter-android-app
How do I prevent a window being resized after making a view visible, when soft keyboard is shown
I have a parent ConstraintLayout for a fragment where I am displaying a button above the soft keyboard using the button's attribute:
This is fine, until I change the visibility state of any view on the screen from 'invisible' or 'gone' to 'visible', then the button disappears behind the keyboard at the bottom of the screen.
Adding the following attributes to the ConstraintLayout doesn't help e.g.
The first time the keyboard is opened, the screen resizes properly and the button is pushed up. After changing a view's visibility then open/closing the keyboard makes no difference and the button remains at the bottom of the screen and behind the keyboard.
There's nothing unusual about the xml. For example, here's a stripped down version where making errorTextView visible causes the issue.
<?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> <EditText android:id="@+id/editText" android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_constraintBottom_toTopOf="@id/errorTextView" app:layout_constraintTop_toTopOf="parent" /> <TextView android:id="@+id/errorTextView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="invisible" app:layout_constraintTop_toBottomOf="@id/editText" /> <Button android:id="@+id/saveButton" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Save" app:layout_constraintBottom_toBottomOf="parent" /> </android.support.constraint.ConstraintLayout>
Any help received gladly.
Android Studio Vector Assets - How to merge/combine two vector assets together?
I'm currently designing some ImageButtons to be drawn on top of a map, and one of them is supposed to bring up a list of currently favourited markers that would be permanently displayed on the map.
Apart from holding down the custom InfoWindow, a marker can be added to this list from a separate activity by clicking a button on the that activity's action bar, which for its icon uses the android vector asset named star_border.
Now, as the ImageButton's src, I would like to use a combination of the list vector asset and the star, which would sort of be in the bottom right, like a subscript. Can this be done by editing together XML code, or do I use a third party program?