Android table frame

How to generate a table <com.bin.david.form.core.SmartTable android:id="@+id/table" android:layout_width="match_parent" android:layout_height="300dp" /> You can annotate the @ SmartColumn field with the annotation @ SmartTable table@SmartTable(name="User information list") public class UserInfo { @SmartColu ...

Added by ugh82 on Fri, 24 Dec 2021 12:33:58 +0200

Android Development - advanced components

Original video link 1. Use of complex components 1. Component common 1.1 display status of control components xml attribute control: java attribute control: // View is the control currently in use View.setVisibility(View.GONE) Control hiding View.setVisibility(View.VISIBLE) Control display 1.2 set touch activation st ...

Added by wrongmove18 on Fri, 24 Dec 2021 10:59:15 +0200

Android development from getting started to giving up using SharedPreferences to save data

In the previous article, I temporarily saved the state of the Activity in the onSaveInstanceState method. Although this is also useful, in more cases, we prefer to persistently store some simple data, such as saving the settings of some users or storing the highest score of the current game. In this blog, let's use shared preferences to save so ...

Added by joshuaceo on Fri, 24 Dec 2021 06:19:24 +0200

The interviewer also asked the Handler? Then I'll tell you a story

Come on, little brother, what's the matter with Handler There are too many blogs related to Handler, and there are a large number of random searches, but they basically post the source code and pose when they come up. It's not easy to understand the overall relationship and process in a short time Interviewer, sit down and listen to my story? ...

Added by jd6th on Fri, 24 Dec 2021 00:26:09 +0200

(new on 2022) Android serial port, one article is enough

If you don't want to write it yourself, you can use it directly Serial port finished product library 1, Google official demo Note that the files in the directory are mainly divided into three Android blocks in the figure_ serialport_ api,libs,jni After referring to google's project, we began to write it into our project. 2, Install and do ...

Added by tipjones on Thu, 23 Dec 2021 16:12:49 +0200

Comprehensive screen adaptation scheme for Android bangs screen and water drop screen is a must for Tencent Android interview

* `LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES` * `LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER` The default value is`LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT`,The fringe area will not display content, and the value needs to be set to`LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES` You can simulate the screen gap on any device or simulator running Andro ...

Added by alarik149 on Thu, 23 Dec 2021 16:02:13 +0200

What kind of experience is it to develop a "grandson" who will call himself "Grandpa"?

The life of living alone is very boring. If there is anything refined, just chat with me "Living alone is very boring. If there is anything refined, just chat with me." based on this unique idea, I decided to refine something and give it the ability to read the specified words. At present, there are two products on the market that ...

Added by awiedman on Thu, 23 Dec 2021 07:53:40 +0200

Deep understanding of DRM - MediaDRM and MediaCrypto

How MediaDRM Works? Next, take ExoPlayer code as an example to introduce MediaDRM used in Widevine Modular. To sum up, there are the following steps Step1. Create MeidaDRM instance based on UUIDStep2.Open SessionStep3. Add keys: getKeyRequest and provideKeyResponse of mediadrmStep4. Create a MediaCrypto object and register it in MediaC ...

Added by busnut on Thu, 23 Dec 2021 04:47:05 +0200

android source code -- Summary of view creation principle

1, android interface composition Activity: control model, control Window. Window: host model, which is responsible for hosting the view. View: display model, used to display. ViewRoot(ViewRootImpl): it is the link between WindowManager and DecorView. 2, View create overall process summary 1, in ActivityThread's performLaunchActivity, we ca ...

Added by MiCR0 on Thu, 23 Dec 2021 02:47:25 +0200

Virtual navigation based on Accessibility Service

Virtual navigation based on Accessibility Service . brief introduction Accessibility Service (Accessibility Service) is designed to provide disabled users who cannot interact with the interface to assist and help them with interactive operations, such as clicking, returning, long pressing and obtaining screen information content. But no ...

Added by austenr on Thu, 23 Dec 2021 02:08:40 +0200