Skip to content

p-samuel/pisces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pisces - 双鱼座

Pisces is a set of classes to provide rapid implementation for Android Widgets JNIs (Android.JNI.Widget). It serves a few list of attributes to build native Android views (JView) using only simple pascal classes. Introductory notes can be found here.

Setup

Add the src folder to your project's search path or library path. After that, include Pisces in the uses clause.

uses
  Pisces;

type
  [ LinearLayout('mylayoutname'),
    BackgroundColor(107, 174, 200),
    FullScreen(True),
    DarkStatusBarIcons(False),
    Orientation(TOrientation.Vertical),
    Gravity([TGravity.Center])
  ] TScreen = class(TPisces)
  private 
  
  end;

Target

Notes

  • ⚠️ In development
  • Not a production-ready libray, it's just a proof of concept.
  • Not a cross-platform library, it only works on Android.
  • Not taked into account the many versions of Android and the different versions of the Android SDK. It assumes the latest version being Android 14 with the Android SDK API level 34.

Art By @Macrovector from Freepik