Questions tagged as 'android-layout'

1
answer

Glide when rotating device does not crop properly centered on Android

Definition of ImageView <ImageView android:id="@+id/cover_image" android:layout_width="match_parent" android:layout_height="wrap_content" android:adjustViewBounds="true" android:contentDescription="@string/desc_em...
asked by 19.04.2017 / 19:47
1
answer

Zoom, rotate and move inside an ImageView on Android

I am creating an image viewer, style as it takes android native, that lets expand the image, move for it, with the typical gestures: Pinch to zoom Double tap to zoom automatically By having the expanded image you can move through it Wh...
asked by 17.04.2017 / 22:54
2
answers

DrawerMenu W / PathParser: Points are too far 4.000000596046461 on Android

I created a new project using the wizard to implement side menu DrawerLayout when selecting from the menu an item onNavigationItemSelected the debug returns me    W / PathParser: Points are too far 4.000000596046461 apart...
asked by 09.05.2017 / 15:44
3
answers

Customize text layout android

How can I customize the TextView? My idea is that some parts of the layout look more than others to make more emphasis in certain parts of the layout. Basically my idea is the one that appears in the image that I attached, but implemented in my...
asked by 02.05.2017 / 11:24
2
answers

Missing Styles error

I need someone to help me: I'm starting to learn how to program in Android Studio and I just installed version 2.2.3. I used to have version 1.3 and everything was super good until I changed the version. When I open a new project I get this:...
asked by 02.03.2017 / 17:39
2
answers

How to load an imageView with the property of a bean object in android?

Hi, I hope I can explain myself and that you can help me, I have this class where you have a news bean property with news property. newsIconUrl that contains a URL and I need to show an image in an imageview with that url my problem is to pass t...
asked by 24.02.2017 / 20:51
1
answer

Image is not shown in the corresponding item

I am using a RecyclerView to show a list in which each item contains text and images (I will search for the image from a url with the ImageLoader in the method private void setImageNews(final ImageView view, String url) ). Wh...
asked by 09.03.2017 / 00:26
1
answer

How do I select a Tab from a TabLayout? [closed]

I'm using a ViewPager, but I tried trying to select it and I could not do it correctly. By default I select the first tab but I need the tab selected by default to be the second one. Also, when I enter another activity and then press back, it...
asked by 08.01.2017 / 02:57
3
answers

ERROR when compiling my code in Android Studio

When compiling my Android code, I'm getting the following error:    Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:   Error: Execution failed for task ': app: mergeDebugResources'.    Error:...
asked by 27.12.2016 / 20:26
1
answer

VideoView Play several videos

Hello friends, I have a small problem that I do not know how to perform, well I'm trying to play some videos in mp4 which I need when I start the first one and I'll start a second video I really do not know how to do it. public class Videos ex...
asked by 02.11.2016 / 16:39