android-layout tag

35 questions


1 answers
140 views
0
Securing the android TabLayout Indicator to the Center

How do I fix the indicator of TabLayout to the center of the screen like Google's news app?By default, the indicator moves to match the tab, but I want the indicator to be fixed in the middle so that ...

2 years ago

1 answers
109 views
0
Android App Error Handling

The error was resolved a little, so I corrected it.Therefore, ListView cannot be resolved or is not a fieldI would like to resolve .What should I do?Details below.I have a question about handling erro...


2 answers
155 views
0
Zxing vertical screen support

We are creating an application that reads bar codes using zxing.I have a question, but when the camera is started, the screen is horizontal from the vertical.Is there a way to start on a vertical scre...


2 answers
96 views
0
Error when setting EditText to onClick in activity_main on Android

An error occurs when you set EditText to onClick in activity_main on Android.The code is as follows, and if you erase the onClick code, you will not get an error.Please let me know if you know more.&l...


1 answers
109 views
0
This is a question about XML errors in Android application development.

I am currently editing XML and Java files.Unable to handle errors in XML.The location of the error is in the first line.<?xml version=1.0 encoding=utf-8?>That's right.As an error indication, Mul...


1 answers
89 views
0
Android Studio complements drawable and dimens, no longer available for viewing

It's just as the title says.Usually, if you define layout_background, etc. in XML, the value will be supplemented, but it will not be sudden, and even if you type it on your own, you will get an error...


1 answers
138 views
0
DatePicker View drawing is no longer immediately reflected

I use CalendarView for DatePicker on Android.android:calendarViewShown=trueandroid:spinnersShown=falseHowever, after using it for a while, the drawing will not be reflected immediately.Tap a date to n...


2 answers
72 views
0
To Get a CustomView Instance

Is it possible to treat multiple views together as a single view on Android?For example, suppose you have a layout that is represented by the following outline:<!--layout/my_view.xml (approximate)-...

2 years ago

1 answers
89 views
0
You want SlidingPaneLayout to unify your behavior with smartphones and tablets.

For example, if you create multipain layout with SlidingPaneLayout like this<android.support.v4.widget.SlidingPaneLayout xmlns:android=http://schemas.android.com/apk/res/android xmlns:tools=http:/...


1 answers
114 views
0
What is the meaning of void in the AsyncTask argument?

public static class DownloadWorker extensions AsyncTask <Void, void, void{ @ Override Protected String doInBackground (Void...voids) { return null;

- 1 - »

© 2024 OneMinuteCode. All rights reserved.