Several implementation methods of Android text vertical scrolling and vertical horse riding lamp

Method 1: use the system control ViewFlipper mode: Layout file: <ViewFlipper android:id="@+id/view_flipper" android:layout_width="300dp" android:layout_height="35dp" android:layout_centerInParent="true" android:autoStart="true" android:background="@drawable/warning_bg" android: ...

Added by DarkSuperHero on Fri, 01 May 2020 19:56:52 +0300

Android learning notes - wake up your APP through the webpage and pass the reference

Preface I believe that we will find that many web pages have such functions in our life. One second ago, we were still on the web page, and one second later, we inexplicably entered their APP. So how does this effect work? After careful study, I found that android:scheme attribute is used to complete the function. Here's my personal opinion. ...

Added by designguy79 on Fri, 01 May 2020 02:44:39 +0300

Using PhotoView to view pictures

The project needs to realize the function of picture viewing. Using ImageView can't scale, using the system's picture viewer can't meet their own customized needs, so I used Viewpager + PhotoView to realize it. Introducing PhotoView Github link for PhotoView , PhotoView is designed to help developers easily scale Android ImageView. 1. Conf ...

Added by yanisdon on Thu, 30 Apr 2020 17:22:01 +0300

Asymmetric encryption algorithm in PHP

PHP uses asymmetric encryption algorithm (RSA) In the daily design and development, in order to ensure the security of data transmission and data storage, the clear data can be encrypted into complex ciphertext by specific algorithm. At present, the mainstream encryption methods can be roughly divided into one-way encryption and two-way encryp ...

Added by czukoman20 on Tue, 21 Apr 2020 06:17:09 +0300

RxHttp, a more elegant protocol experience than Retrofit

1. Preface Hello, you little friends, have met again. Looking back, RxHttp We are about to have our anniversary birthday (launched in April 19). This year, we have come over with sincerity.... Sincerity is not easy. Code maintenance, writing articles, writing documents, etc. are often done after zero o'clock. It is also the first time that I sp ...

Added by Jordi_E on Mon, 20 Apr 2020 19:24:27 +0300

Use fonts in Android O XML

Use fonts in Android O XML 2017/9/25 20:14:35 Android 8.0 introduced a new feature, fonts in XML, that allows you to use fonts as resources.This means that you no longer need to bundle fonts as assets.Fonts are compiled in R files and, as a resource, are automatically used on the system.You can then access these fonts using a new resour ...

Added by bios on Sun, 19 Apr 2020 19:35:47 +0300

Literal operation database

Litepal is an open-source Android database framework. It uses the object relational mapping (ORM) mode to encapsulate some database functions that we usually use. Add dependent file compile 'org.litepal.android:core:1.6.1'Object relational mapping (ORM): the programming language we use is the object-oriented language, and the database we use ...

Added by geetakhurana on Mon, 13 Apr 2020 19:25:04 +0300

OpenGL ES 3. OBJ file rendering

Hello, next I will introduce OpenGL ES 3. OBJ file rendering. The previous section introduces the OBJ file and its text structure. Next, it introduces how to load the OBJ file into memory and render it through OpenGL. 1. OBJ file parsing class Because OBJ text files are stored according to certain rules (see the previous section for de ...

Added by TalonFinsky on Wed, 08 Apr 2020 11:26:19 +0300

[learn Java notes from scratch] Set class and Map class

You can pay attention to the author's account and the Java notebook from scratch. You can also go to the author's blog Garden to learn from the catalog. This film will be based on the black horse programmer job class video for learning and data sharing, and take notes and their own views. Welcome to study and discuss together. [learn Java note ...

Added by rowman on Tue, 07 Apr 2020 21:34:41 +0300

Research on the dynamic update scheme of Android multi language

This article starts with WeChat official account of vivo Internet technology. Links: https://mp.weixin.qq.com/s/jG8rAjQ8QAOmViiQ33SuEg Author: Chen Long Recent projects need to support dozens of languages. Many small languages seem to be the same as garbled code in the eyes of people who don't know them. Translation is generally transl ...

Added by liamloveslearning on Tue, 07 Apr 2020 13:20:15 +0300