Android entry notes (seven)

... 七, the use of the toolbar 7.1 Toolbar menu creation (1) Create a resource type of Menu in res/menu and name it with the layout file Consistent. (2) Define a brand new app namespace using the xmlns tag in the menu resource file and use it in the showAsAction property, mainly for...


Android content search

... When writing android search code, how to implement the search function, there are two kinds of consideration: Custom search method: 1. Custom search input box , search icon, search button 2. Custom voice input method 3. Customize common hot word content, style 4. Customize browsing...


Andorid Security / Basic Theory - 0 - written at the beginning

... ********************************** remember when I first came into contact with Android, it was October 15 (the third semester), the second MSC Mobile Security Challenge started on the eve of Ali In order to participate, I bought a copy of the "Android code security and reverse analysis...


Android basics - Activity of the four components (2)

... Today we will discuss what startup mode has activity, what are the characteristics, and see the following analysis 1.Task and back stack >Task (task) In order to complete a function, a collection of multiple activities, When your application starts, the system will automatically...


Android based controls

... 一 TextView Parent class : View >Concept: Text Control: Display of text content Default configuration is not editable Subclass EditText can be edited > Properties: android:text="Hello, World!" Text content Android:textSize="20sp" size of text font Android:textColor="#f00" text...


Android horizontal and vertical screen switching to load different layouts

... 1. Forbidden APP horizontal and vertical screen switching Configure the following places in the configuration of the Activity android:screenOrientation="portrait" (landscape is landscape, portrait It is vertical). This will ensure that the vertical screen is always vertical android...


Android based - four components of Activity

... 1.Activity >Concept: Activity Panel Application Components You can draw Ui interface to interact with users Default display full screen Other situations The interface is smaller than other windows Floating above other windows >Create an Activity >1, create a class inheritance...


Android custom shadow Shadow color, size and other styles

... Recently encountered a headache in the project, the designer needs to add shadows to some buttons in the ui map. At first glance, the design picture, this is nothing, we don't have this property in Android, so we put up the sleeves to open: <TextView android:id="@+id/btn_test...


Vitamio video playback error: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader

... Recently found that the video of the mobile phone that just wrote the demo is playing a few crashes, but on the test machine, it is good, The error is as follows: java.lang.UnsatisfiedLinkError:dalvik.system.PathClassLoader The main reason is that the architecture file of vitamio is not...


Kotlin entry (19) Android's basic layout

... linear layout Linear layout LinearLayout is the most commonly used layout, as its name suggests, the sub-view image below it is strung together with a string, so its internal view The arrangement is sequential, either vertically from top to bottom or horizontally from left to right. The...