One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
public class RoundedLinearLayout extends LinearLayout { | |
String TAG = getClass().getSimpleName(); | |
Path mPath; | |
float mCornerRadius; | |
public boolean isCornerSet = false; | |
public RoundedLinearLayout(Context context) { |
import android.app.Activity; | |
import android.content.Intent; | |
import android.net.Uri; | |
import android.os.Environment; | |
import android.provider.MediaStore; | |
import android.support.v4.app.Fragment; | |
import android.util.Log; | |
import java.io.File; | |
import java.io.IOException; |
public class DraggableView extends Button { | |
float dX; | |
float dY; | |
public DraggableView(Context context) { | |
super(context); | |
} | |
public DraggableView(Context context, AttributeSet attrs) { |
public class MainActivity extends AppCompatActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
final WebView webview = (WebView) findViewById(R.id.webview); | |
webview.getSettings().setJavaScriptEnabled(true); | |
webview.loadUrl("http://xxx.xxx.xxx.xxx:yyyy/form"); |
/** | |
* Created by Pamir on 09/03/2017. | |
*/ | |
public class MyLinearLayout extends LinearLayout { | |
private final float SCALE_PRESSED = 0.9f; | |
private final float SCALE_NORMAL = 1.0f; | |
private OnMyClickListener myOnClickListener; |
/* | |
* Copyright (C) 2014 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
<?xml version="1.0" encoding="utf-8"?><!-- | |
~ Copyright (C) 2015 The Android Open Source Project | |
~ | |
~ Licensed under the Apache License, Version 2.0 (the "License"); | |
~ you may not use this file except in compliance with the License. | |
~ You may obtain a copy of the License at | |
~ | |
~ http://www.apache.org/licenses/LICENSE-2.0 | |
~ | |
~ Unless required by applicable law or agreed to in writing, software |
/* | |
* Copyright 2017 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file | |
* except in compliance with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software distributed under the | |
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |